//
//  CarNewsModel.m
//  小汽车
//
//  Created by 杜远洋 on 14-12-29.
//  Copyright (c) 2014年 蓝欧科技. All rights reserved.
//

#import "CarNewsModel.h"

@implementation CarNewsModel
- (void)dealloc
{
    [_newsImg_small release];
    [_newsTitle release];
    [_createDates release];
    [_comments release];
    [_newsLink release];
    [super dealloc];
}

+ (instancetype)carNewsWithNewsTitle:(NSString *)newsTitle newsLink:(NSString *)newsLink{
    CarNewsModel *model = [[CarNewsModel alloc] initWithNewsTitle:newsTitle newsLink:newsLink];
    return [model autorelease];
}
- (instancetype)initWithNewsTitle:(NSString *)newsTitle newsLink:(NSString *)newsLink
{
    self = [super init];
    if (self) {
        self.newsTitle = newsTitle;
        self.newsLink = newsLink;
    }
    return self;
}


- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}
- (id)valueForUndefinedKey:(NSString *)key
{
    return @"";
}


@end
